package com.zsrt.day20170401;

public class Zizeng {
	public static void main(String[] args) {
		int a = 100;
		int b = a++;    // 先返回值，再自增
		int c = ++b;    // 先自增然后返回值
		int d = ++c;
		
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(d);
		
		int aa = 10;
		int bb = --aa;  // 同理
		System.out.println(bb);
		System.out.println(aa);
	}

}
